package com.lx.oms.controller.service;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

import com.lx.oms.common.entity.R;
import com.lx.oms.controller.entity.SupplyCategoryEntity;

/**
 * 黄页分类
 *
 * @author houzhong
 * @date 2018年11月22日 上午10:10:19
 */
public interface SupplyCategoryService {
	
	List<SupplyCategoryEntity> listCategoryByParentId(String categoryId);
	
	R listCategoryByParentId(Map<String, Object> params);

	R saveSupplyCategory(SupplyCategoryEntity supplyCategory);
	
	R getSupplyCategoryById(BigInteger id);
	
	R updateSupplyCategory(SupplyCategoryEntity supplyCategory);
	
	R batchRemove(String[] id);
	
	SupplyCategoryEntity getCategoryByName(String name);
	
	List<SupplyCategoryEntity> getCategoryByParentId(String parentId,String type);
	
	
}
